package com.ischoolbar.programmer.util;

/**
 * @Author lin
 **/

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateFormatUtil {
    public DateFormatUtil() {
    }

    public static String getFormatDate(Date date, String format) {
        SimpleDateFormat sdf = new SimpleDateFormat(format);
        return sdf.format(date);
    }
}

